package com.jml.mycicre;

import com.jml.mycomponentscan.Bean;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * 测试 循环依赖
 */
public class CicreTest {
	public static void main(String[] args) {
		AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(MyCompentScan.class);
		T1 t1 = context.getBean(T1.class);
		t1.t1ToT2();
	}
}
